Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started


Creating folder windows

You now have browse windows for the Customer and Order tables. In this section, you create a maintenance window for the Customer table. This tutorial shows the style of building application windows that is used extensively in the framework. You can organize your application screens any way you like. Creating multi-page tab folders gives you a sense of what you can do.

To create a Customer maintenance browse:

  1. Choose Build Container Builder from the AppBuilder main window. The Container Builder appears.
  2. Choose the New button on the Container Builder toolbar.
  3. Type rywinFolder in the Container field in the Create from existing container section, and press the TAB key.
  4. The rywinFolder object is a template for a dependent window. This rywinFolder template has a Page 0 with a Navigation and Update toolbar, the tab folder itself, and a folder Page 1 where a Viewer goes to display and update records.

    You will pass in the Customer key from the Customer Browse Window so your Customer Maintenance browse displays the same record.

  5. Choose the Create button to create the folder window.
  6. Note that this container’s type is DynFold / Dependent Window. A dependent window links to another window that supplies key values for record retrieval. Typically in the framework, a dependent window is a tab folder that might display multiple pages and update related data for the selected record. The object type of DynFold is named to reflect this fact. However, you can build any type of window, with or without a tab folder, as a dependent window.

  7. Select ds-OE in the Product module combo box.
  8. Type oeCustFoldWin in the Container field.
  9. Type Customer maintenance folder window in the Description field.
  10. Type Customer Orders Browse in the Window name field, as shown:
  11. Choose the Page Maintenance button in the Container Builder toolbar. The Page Maintenance window appears:
  12. Note: This tool allows you to manage data about pages in your folder windows.

  13. Select the Details record, and choose the Modify button .
  14. Type Customer in the Page label and Security token fields, as shown:
  15. Choose Save, and exit the Page Maintenance window.
  16. Choose the Customer (Pg 1) tab, as shown:
  17. Select the template viewer icon in the grid.
  18. Type armcuviewv, your Customer Viewer, in the Object field and press the TAB key. The Container Builder substitutes the dynamic Viewer for the template object.
  19. Choose OK to clear the Replacing objects of different type message box.
  20. Type CustomerViewer for the Name.
  21. Choose Save in the container toolbar.

Now you have filled in the predefined elements of the Folder template. You can also expand upon what the template gave you by adding more folder pages and objects.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095